
<!DOCTYPE html>
<html>
    <head>
        <title>宠物犬疾病诊断专家系统</title>
        <meta name="title" content="1" />
        
        <meta name="keywords" content="1" />
        <meta name="description" content="1" />
        <meta charset="UTF-8">
    
       
        <link href="${contextPath}/lib/css/home.css?v=2" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="${contextPath}/lib/js/jquery-1.7.2.js"></script>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="http://www.francescomalagrino.com/BootstrapPageGenerator/3/js/jquery-2.0.0.min.js"></script>
<script type="text/javascript" src="http://www.francescomalagrino.com/BootstrapPageGenerator/3/js/jquery-ui"></script>
<link href="http://www.francescomalagrino.com/BootstrapPageGenerator/3/css/bootstrap-combined.min.css" rel="stylesheet" media="screen">
<script type="text/javascript" src="http://www.francescomalagrino.com/BootstrapPageGenerator/3/js/bootstrap.min.js"></script>
  <#include "/base/head.html">
    </head>

    <body>

        
        <div class="header">
            <div class="con">
                <h1 class="logo">宠物犬疾病诊断专家系统</h1>
                <div class="top-login">
                                        <div id="js-login_box" style="">
                        <form id="login_form" method="post" action="${contextPath}/login/inhome">
                            <div class="cell">
                                
                                <input type="text" name="nickname" id="js-account" tabindex="1" class="text" placeholder="用户名"/>
                              
                            </div>
                            <div class="cell">
                                
                                <input type="password" name="password" id="js-passwd" class="text" tabindex="2" placeholder="密码"/>
                                <b class="icon-form ifm-secure" onClick="window.open('/');return false;">安全提示</b>
                            </div>
                            <button type="button" class="button" id="js-submit"  tabindex="3" onclick="submitForm()">登录</button>
                        
					
                            
                        </form>
                        
                    </div>
                </div>
            </div>
        </div>
        <div class="wrap">
            <div class="banner-show" id="js_ban_content">
                <div class="cell bns-01">
                    <div class="con"></div>
                </div>
                <div class="cell bns-02" style="display:none;">
                    <div class="con">
                        <a href="http://www.moke8.com" target="_blank" class="banner-link"><i>宠物犬疾病诊断</i></a>
                    </div>
                </div>
                <div class="cell bns-03" style="display:none;">
                    <div class="con">
                        <a href="http://www.moke8.com" target="_blank" class="banner-link"><i>宠物犬疾病诊断</i></a>
                    </div>
                </div>
            </div>
            <div class="banner-control" id="js_ban_button_box">
                <a href="javascript:;" class="left">左</a>
                <a href="javascript:;" class="right">右</a>
            </div>
            <script type="text/javascript">
                (function(){
                    
                    var defaultInd = 0;
                    var list = $('#js_ban_content').children();
                    var count = 0;
                    var change = function(newInd, callback){
                        if(count) return;
                        count = 2;
                        $(list[defaultInd]).fadeOut(400, function(){
                            count--;
                            if(count <= 0){
                                if(start.timer) window.clearTimeout(start.timer);
                                callback && callback();
                            }
                        });
                        $(list[newInd]).fadeIn(400, function(){
                            defaultInd = newInd;
                            count--;
                            if(count <= 0){
                                if(start.timer) window.clearTimeout(start.timer);
                                callback && callback();
                            }
                        });
                    }
                   
                    var next = function(callback){
                        var newInd = defaultInd + 1;
                        if(newInd >= list.length){
                            newInd = 0;
                        }
                        change(newInd, callback);
                    }
                    
                    var start = function(){
                        if(start.timer) window.clearTimeout(start.timer);
                        start.timer = window.setTimeout(function(){
                            next(function(){
                                start();
                            });
                        }, 8000);
                    }
                    
                    start();
                    
                    $('#js_ban_button_box').on('click', 'a', function(){
                        var btn = $(this);
                        if(btn.hasClass('right')){
                            //next
                            next(function(){
                                start();
                            });
                        }
                        else{
                            //prev
                            var newInd = defaultInd - 1;
                            if(newInd < 0){
                                newInd = list.length - 1;
                            }
                            change(newInd, function(){
                                start();
                            });
                        }
                        return false;
                    });
                    
                })();
                function submitForm(){
                    BaseJs.submitForm("#login_form",function(r){
                    	window.location = r.data;
                    });
                }
                function clearForm(){
                    $('#ff').form('clear');
                }
                function submitForm1(){
                    BaseJs.submitForm("#sign_form",function(r){
                    	
                    	
                    });
                }
            </script>
            <div class="container">
                 
                <div class="register-box">
                  <div class="reg-slogan">新用户注册</div>
                    <div class="reg-form" id="js-form-mobile"><br>
<br><form id="sign_form" method="post" action="${contextPath}/user/register">
            <input type="hidden" name="role_id" id="js-mobile_ipt" class="text" maxlength="11" value="1"/>
                        <div class="cell">
                            
                            <input type="text" name="nickname" id="js-mobile_ipt" class="text" maxlength="11" placeholder="用户名" />
                        </div>
                        <div class="cell">
                            
                            <input type="password" name="password" id="js-mobile_pwd_ipt" class="text" placeholder="密码"/>
                            <input type="text" name="passwd" id="js-mobile_pwd_ipt_txt" class="text" maxlength="20" style="display:none;"/>
                            <b class="icon-form ifm-view js-view-pwd" title="查看密码" style="display: none">查看密码</b>
                        </div>
                        
                         
                        <div class="bottom"><a  id="userSubmitEdit"  onclick="submitForm1()" class="button btn-green">立即注册</a></div>
                        </form>
                    </div>
           
                </div>
            </div>

             


        </div>
        <div class="footer">
            <div class="con">

                <div class="copy-right">
                    <div class="cell"> 
                        
 <div style="width:960px;margin:10px auto; clear:both; text-align:center;  ">

</div>
<div style="width:960px;margin:20px auto 100px auto; clear:both; text-align:center; font-size:12px; line-height:25px;    ">



</div>

                    </div>
                    
	 				
                     
                </div>
        
            </div>
        </div>


       
  
       

    </body>
</html>